package com.naughty.userlogin02.dao;


import com.naughty.userlogin02.bean.Administrator;
import com.naughty.userlogin02.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
/*
 **@Author:刘淑钰
 **Created on 2021/12/18
 */
@Repository
public interface AdministratorDao {
    public int getAdminByMassage(@Param("aname") String aname, @Param("apwd") String apwd);
    public List<Administrator> getAllAdmin(@Param("username") String username, @Param("pageStart") int pageStart, @Param("pageSize") int pageSize);

}
